package com.foruo.sc.upload.file.util;

import java.util.UUID;

/**
 * uuid工具类
 * @author GaoYuan
 * @date 2018/4/11 上午9:20
 */
public class UUIDUtils{
    /** 获取uuid */
    public static String getUUID(){
        return UUID.randomUUID().toString();
    }

    /** 获取uuid（去除连接符号）*/
    public static String getUUIDNoCross(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
}
